package cn.com.swu.mianyangapp.bean;

import java.util.Date;

public class Notice {

    private String noticeID;
    private String noticeTitle;
    private String noticeContent;
    private Integer noticeType;
    private String startTime;
    private Date endTime;
    private Integer publisherID;
    private Integer Clicks;

    public String getNoticeID() {
        return noticeID;
    }

    public void setNoticeID(String noticeID) {
        this.noticeID = noticeID;
    }

    public String getNoticeTitle() {
        return noticeTitle;
    }

    public void setNoticeTitle(String noticeTitle) {
        this.noticeTitle = noticeTitle;
    }

    public String getNoticeContent() {
        return noticeContent;
    }

    public void setNoticeContent(String noticeContent) {
        this.noticeContent = noticeContent;
    }

    public Integer getNoticeType() {
        return noticeType;
    }

    public void setNoticeType(Integer noticeType) {
        this.noticeType = noticeType;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getPublisherID() {
        return publisherID;
    }

    public void setPublisherID(Integer publisherID) {
        this.publisherID = publisherID;
    }

    public Integer getClicks() {
        return Clicks;
    }

    public void setClicks(Integer clicks) {
        Clicks = clicks;
    }

    public Notice(){}
    public Notice(String noticeID, String noticeTitle, String noticeContent, Integer noticeType, String startTime, Date endTime, Integer publisherID, Integer clicks) {
        this.noticeID = noticeID;
        this.noticeTitle = noticeTitle;
        this.noticeContent = noticeContent;
        this.noticeType = noticeType;
        this.startTime = startTime;
        this.endTime = endTime;
        this.publisherID = publisherID;
        Clicks = clicks;
    }

    @Override
    public String toString() {
        return "Notice{" +
                "noticeID=" + noticeID +
                ", noticeTitle='" + noticeTitle + '\'' +
                ", noticeContent='" + noticeContent + '\'' +
                ", noticeType=" + noticeType +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", publisherID=" + publisherID +
                ", Clicks=" + Clicks +
                '}';
    }

}
